package practice;

public class practice001 {
	// 组合M=300,N=150
	public static void main(String[] args) {
		int i;
		double m = 300;
		double n = 150;
		double resutlt = 1;
		if (n > m / 2) {
			n = m - n;
		}

		for (i = 1; i <= n; i++) {
			resutlt = resutlt * (m - i + 1) / i;
		}
		System.out.println(resutlt);
	}
}
